package com.yeyks.hotel.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GrabTheOrderServiceGetNowGrabTheOrderedHotelListParam {

    @ApiModelProperty(value = "用户id",hidden = true)
    private Integer userId;
    @ApiModelProperty("时间戳")
    @NotNull
    private Long timestamp;
    @ApiModelProperty("排序 默认1智能，2距离，3价格")
    private Integer sort = 1;

}
